<?php $menu = $this->uri->segment(1);?>

<div class="col" id="header">
  <div class="top"> <a href="#"><img src="/ui/img/logo.png" /></a> </div>
  <ul class="nav">
    <li <?php echo $menu == 'index' || $menu == ''? 'class="on"' : '' ?> ><a href="<?php echo site_url('index'); ?>" >首页</a></li>
    <li <?php echo  $type_name == 1  ? 'class="on"' : '' ?>>
    <dl>
    	<dt><a href="<?php echo site_url('about/1'); ?>" >金明黄金</a></dt>
      	<dd><a href="<?php echo site_url('about/1'); ?>">公司简介</a><!--<a href="<?php echo site_url('about/3'); ?>">联系方式</a>--><a href="<?php echo site_url('about/5'); ?>">董事长致辞</a><a href="<?php echo site_url('about/6'); ?>">战略方向</a><a href="<?php echo site_url('about/2'); ?>">企业招聘</a>	</dd>
     </dl>
    </li>

    <li <?php echo $type_name == 2 || $type_name == 3 || $type_name == 4 ? 'class="on"' : '' ?>>
    <dl>
    	<dt><a href="<?php echo site_url('info/2'); ?>" >新闻中心</a></dt>
      	<dd><a href="<?php echo site_url('info/2'); ?>">外汇</a>
      		<a href="<?php echo site_url('info/3'); ?>">黄金</a>
      		<a href="<?php echo site_url('info/4'); ?>">白银</a>
      		<a href="<?php echo site_url('info/19'); ?>">金明热点</a>
      		<a href="<?php echo site_url('info/20'); ?>">国际贵金属</a>
      		<a href="<?php echo site_url('info/21'); ?>">金市评论</a>
      		<a href="<?php echo site_url('info/22'); ?>">国内贵金属</a>
      	</dd>
     </dl>
    </li>
    <li <?php echo $type_name == 17 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('about/12'); ?>">资金安全</a></dt>
    </dl>
    </li>
 <!--    <li <?php echo $type_name == 5 || $type_name == 6 || $type_name == 7 ? 'class="on"' : '' ?>>
    <dl>
    	<dt><a href="<?php echo site_url('info/5'); ?>">排行榜</a></dt>
   	<dd><a href="<?php echo site_url('info/5'); ?>">日排行</a>
      	<a href="<?php echo site_url('info/6'); ?>">周排行</a>
      	<a href="<?php echo site_url('info/7'); ?>">月排行</a></dd>
     </dl>
    </li>-->
    <li <?php echo $type_name == 8 || $type_name == 9 || $type_name == 10 || $type_name == 11 ? 'class="on"' : '' ?>>
    <dl>
    	<dt><a href="<?php echo site_url('info/8'); ?>">理财课堂</a></dt>
      	<dd><a href="<?php echo site_url('info/8'); ?>">基础知识</a><a href="<?php echo site_url('info/9'); ?>">技术指标</a><a href="<?php echo site_url('info/10'); ?>">投资技巧</a><a href="<?php echo site_url('info/11'); ?>">常见问题</a></dd>
     </dl>
    </li>
    <li <?php echo $type_name == 13 || $type_name == 14 || $type_name == 15 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('info/13'); ?>" >服务中心</a></dt>
      	<dd><a href="<?php echo site_url('info/13'); ?>">每日策略</a><a href="<?php echo site_url('info/14	'); ?>">每周策略</a><a href="<?php echo site_url('info/15'); ?>">每月策略</a></dd>
     </dl>
	</li>
    <li <?php echo $type_name == 12 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('about/7'); ?>">企业招商</a></dt>
      	<dd><a href="<?php echo site_url('about/7'); ?>">加盟条件</a><a href="<?php echo site_url('about/8	'); ?>">加盟流程</a><a href="<?php echo site_url('about/9'); ?>">加盟申请</a><a href="<?php echo site_url('about/10'); ?>">加盟热线</a></dd>
     </dl>
    </li>
    <li <?php echo $type_name == 16 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('about/11'); ?>">下载专区</a></dt>
    </dl>
    </li>
    <li <?php echo $type_name == 19 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('about/14'); ?>">金明讲堂</a></dt>
    </dl>
    </li>
    <li <?php echo $type_name == 18 ? 'class="on"' : '' ?>>
	<dl>
    	<dt><a href="<?php echo site_url('about/13'); ?>">联系我们</a></dt>
    </dl>
    </li>
  </ul>
  <div class="notice">
    <marquee scrollamount="1">

      <?php
      if ( $menu = 'detail'){
      	echo '暂无公告！';
      }
else
{
      echo $gg->content;
}?>
    </marquee>
  </div>
</div>